//
//  NetStatusManger.h
//  siyanone
//
//  Created by LK-IOS on 2018/3/21.
//  Copyright © 2018年 LK-News. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, NetworkStatusType) {
    /// 未知网络
    NetworkStatusUnknown,
    /// 无网络
    NetworkStatusNotReachable,
    //    /// 手机网络3G
    
    /// 手机网络4G
    NetworkStatusReachableVia4G,
    /// WIFI网络
    NetworkStatusReachableViaWiFi
};

typedef void(^NetStatusBlock)(NetworkStatusType type);

@interface NetStatusManger : NSObject

+ (instancetype)shareinstance;


- (void)netWorkStatusWithBlock:(NetStatusBlock)statusBlock;

@end
